<%@page import="dao.UserData"%>
<%@page import="model.Communication"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Tin Tức</title>

</head>
<style>
.a:HOVER {
	color: red;
}
</style>
<%
	ArrayList<Communication> listCom11 = UserData.getListCommunication(1);
%>
<body>
		<%
			for (int i = 0; i < listCom11.size(); i++) {
				long timeContent = listCom11.get(i).getTimeContent();
				String title = listCom11.get(i).getTitle();
		%>
			<a class="a" href="Communication?idtimeContent=<%=timeContent%>" onmouseover="red"><%=title%></a> <br><br>
		<%
			}
		%>
</body>
</html>